import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'vx-easyui/dist/themes/default/easyui.css';
import 'vx-easyui/dist/themes/icon.css';
import 'vx-easyui/dist/themes/vue.css';
import EasyUI from 'vx-easyui';
import axios from 'axios';
// 配置请求的根路径
axios.defaults.baseURL = 'http://localhost:5000/'

Vue.prototype.$http = axios

Vue.config.productionTip = false
Vue.use(EasyUI);
Vue.use(ElementUI)

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
